/*
 * 
 */
package kasgroup1;
import java.util.ArrayList;
/**
 * A class representing Conferences.
 * @author Rúni Terjason Hansen
 */
public class Conference {
    private ArrayList<Attendee> attendees;
    private ArrayList<Daytrip> daytrips;
    private ArrayList<Hotel> hotels;
    private String name;
    private String location;
    private String date;
    private String description;
    private String price;
    
    
    public Conference(String name, String location, String date, String description, String price){
    attendees = new ArrayList<>();
    daytrips = new ArrayList<>();
    hotels = new ArrayList<>();
    this.name = name;
    this.location = location;
    this.date = date;
    this.description = description;
    this.price = price;
    
}
    /**
    * Returns the Attendee ArrayList.
    * @return attendees
    */
    public ArrayList getAttendees(){
        return attendees;
    }
    /**
    * Returns the Daytrip ArrayList.
    * @return daytrips
    */
    public ArrayList getDaytrips(){
        return daytrips;
    }
    
    public ArrayList getHotels(){
        return hotels;
    }
    /**
    * Returns the name of the conference.
    * @return name
    */
    public String getName(){
        return name;
    }
    /**
    * Returns where the conference is.
    * @return whereAbouts
    */
    public String getLocation(){
        return location;
    }
     /**
    * Returns when the conference is.
    * @return whenIsIt
    */
    public String getDate(){
        return date;
    }
    
    public String getPrice()
    {
        return price;
    }
    /**
    * Add an attendee to this conference.
    */
    public void addAttendee(Attendee attendee){
        attendees.add(attendee);
    }
    
    public void addDaytrip(Daytrip daytrip){
        daytrips.add(daytrip);
    }
    
     public void addHotel(Hotel hotel){
        hotels.add(hotel);
    }
    
    public void setName(String text)
    {
        name = text;
    }
    
    public void setlocation(String where)
    {
        location = where;
    }
    
    public void setDate(String time)
    {
        date = time;
    }
    
    public String getDescription()
    {
        return description;
    }
}
